EXECUTABLE_1_NAME = epnp
SOURCES_1 = main epnp

CC = g++
LINK = g++

#CC = icpc
DEBUG_OPTIM = -g -O3 
#-ffast-math -fomit-frame-pointer
WARNINGS = -Wall -Wextra

#BAZAR_INC = `pkg-config starter --cflags` `pkg-config garfeild --cflags`
#BIZAR_INC = `pkg-config garfield --cflags`
#OPENCV_INC = `pkg-config opencv --cflags`
# CLAPACK_INC = -I/System/Library/Frameworks/vecLib.framework/Versions/A/Headers/

ALL_LIBS_INCLUDE =  -I/home/alex/OCV_install/include

#BAZAR_LIB = `pkg-config starter --libs` `pkg-config garfeild --libs`
#BIZAR_LIB = `pkg-config garfield --libs`
#OPENCV_LIB = `pkg-config opencv --libs`
# CLAPACK_LIB = -lblas -llapack
#OTHER_LIBS =

ALL_LIBS_LIB = -L/home/alex/OCV_install/lib -lopencv_core -lopencv_highgui  -lopencv_calib3d -lopencv_imgproc

CC_OPTIONS = -I/home/alex/OCV_install/include

LINK_OPTIONS = $(ALL_LIBS_LIB)


all: main

epnpo: epnp.cpp 
	g++ ${DEBUG_OPTIM} ${WARNINGS} ${ALL_LIBS_INCLUDE} ${ALL_LIBS_LIB} -c epnp.cpp -o epnp.o

main: main.cpp epnpo
	g++ ${DEBUG_OPTIM} ${WARNINGS} ${ALL_LIBS_INCLUDE} ${ALL_LIBS_LIB} main.cpp epnp.o -o main
	

clean:
	@rm -f *~ *.o main epnp

